#pragma once
#include "hy_chat_system/chat_data_mgr.h"
#include "hy_includes.h"
#include "hy_net/hy_network_message.h"

class hy_chat_logic : public hy_object
{

public:
	hy_chat_logic();
	virtual ~hy_chat_logic();

	static hy_chat_logic* instance();
	
public:
	bool			proc_public_chat_msg( void* mg );
	bool			chat_condition( int id, string & key, int player_id );
	void			add_system_public( const char* content );
	//static bool chat_change_set			(game_interface& gm_interface);	
	//bool chat_condition_android( int id, string & key, int player_id );
	int				get_string_utf8_length( const char* str );

private:
};

